﻿Public Class BackEnd

	Public Shared Function BatchIncomeSummary(ByVal startDate As Date, ByVal endDate As Date) As Entity.ResultProcedureItem
		Return DL.ProcedureBackEnd.BatchIncomeSummary(startDate, endDate)
	End Function

	Public Shared Function BatchOfficerExpird(ByVal startDate As Date, ByVal endDate As Date) As Entity.ResultProcedureItem
		Return DL.ProcedureBackEnd.BatchOfficerExpird(startDate, endDate)
	End Function

	Public Shared Function BatchReconcileFile(ByVal startDate As Date, ByVal endDate As Date) As Entity.ResultProcedureItem
		Return DL.ProcedureBackEnd.BatchReconcileFile(startDate, endDate)
	End Function

	Public Shared Function Online_IVR_XML(ByVal P_TRAN_ID As String, ByVal P_MOBILE_NO As String,
	 ByVal P_PP_CODE As String, ByVal P_TOPUP_VALUE As String,
	 ByVal P_TOPUP_DATE As String, ByVal P_REF1_IVR As String, ByVal P_REQ_TRAN_ID As String) As Entity.ResultProcedureItem
		Try
			Return DL.ProcedureBackEnd.Online_IVR_XML(P_TRAN_ID, P_MOBILE_NO, P_PP_CODE, P_TOPUP_VALUE, P_TOPUP_DATE, P_REF1_IVR, P_REQ_TRAN_ID)
		Catch ex As Exception
			Common.LogError.AddLogException(ex)
			Throw ex
		End Try
	End Function

End Class
